package com.tianji.learning.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@ApiModel(description = "笔记信息")
public class NoteVO {
    @ApiModelProperty("笔记id")
    private Long id;
    @ApiModelProperty("笔记内容")
    private String content;
    @ApiModelProperty("笔记记录时的视频时间点，单位秒")
    private Integer noteMoment;
    @ApiModelProperty("是否是隐私笔记")
    private Boolean isPrivate;
    @ApiModelProperty("是否是我采集的笔记")
    private Boolean isGathered;
    @ApiModelProperty("用户id")
    private Long userId;
    @ApiModelProperty("用户名字")
    private String userName;
    @ApiModelProperty("用户头像")
    private String userIcon;
    @ApiModelProperty("笔记发布时间")
    private LocalDateTime createTime;
}